﻿@using Ornament.Web
@model Ornament.MVCWebFrame.Areas.MemberShips.Models.PermissionWizard
@{
    Layout = "~/Views/Shared/App.cshtml";
}
<h2>
    ChoiceResource</h2>
@using (Html.BeginForm())
{
    Html.RenderPartial("PermissionWizardDataView", this.Model);
    var resourceDescription = OrnamentContext.Configuration.Get(this.Model.DescriptionResourceName);
   
    
    <div>
        @Html.Partial(resourceDescription.Path, this.Model)
    </div>
    <div>
        <button type="submit" id="previous" value="false" name="forward">@Resources.Basic.Previous</button>
        <button type="submit" id="next" value="true" name="forward">@Resources.Basic.Next</button>
        <button type="button" id="cancel">@Resources.Basic.Cancel</button>
    </div>
}